const jsdom = require('jsdom');
const fs = require('fs');
const pdmContent = fs.readFileSync('Doc/init.pdm','utf-8').replace(/(<\/{0,1}[a-z]):([A-Za-z])/g,'$1$2').replace('Column.Mandatory','ColumnMandatory').replace();
// const dom = new JSDOM(pdmContent);
const $ = require('jquery')(pdmContent);
var pdm={
    Name:$('oModel aName').text(),
    Comment:$('oModel aComment').text()
};
console.log(pdm);